var appConfig = {};
// function getAppConfig() {
console.log("getAppConfig(): current NODE_ENV: " + process.env.NODE_ENV);
if (process.env.NODE_ENV == 'local') {
    console.log("getAppConfig(): got local config");
    appConfig = require('./config/local.config');
    // return appConfig;
} else if (process.env.NODE_ENV == 'dev') {

    console.log("getAppConfig(): got dev config");
    console.log("getAppConfig(): current NODE_ENV: " + process.env.NODE_ENV);
    appConfig = require('./config/dev.config')
    // return appConfig;
} else if (process.env.NODE_ENV == 'production') {

    console.log("getAppConfig(): got prod config");
    console.log("getAppConfig(): current NODE_ENV: " + process.env.NODE_ENV);
    appConfig = require('./config/prod.config')
    // return appConfig;
}
// }

// module.exports = getAppConfig;
module.exports = appConfig;